Package-level declarations

Types

Link copied to clipboard

Enum representing different modules in the Zuper sync system. This enum is used to identify which module type is being synchronized.

Link copied to clipboard

Specific action type for operations in the Zync system.

Link copied to clipboard
sealed class ZyncDownloadStatus

Represents the high-level status of archive downloads within the SDK.

Link copied to clipboard

Type of entity that operations can be performed on in the Zync system.

Link copied to clipboard

Type-safe metadata for pending upload operations

Link copied to clipboard

High-level operation type for CRUD operations in the Zync system.

Link copied to clipboard
data class ZyncOperationUpdate(val uploadId: Int, val entityUid: String, val entity: ZyncEntityType, val action: ZyncActionType, val status: ZyncUploadStatus, val createdAt: String, val progress: Double? = null, val isFileOperation: Boolean = false, val errorMessage: String? = null)

Lightweight update event for real-time operation status changes.

Link copied to clipboard
data class ZyncPendingUpload(val uploadId: Int, val action: ZyncActionType, val entity: ZyncEntityType, val entityUid: String, val status: ZyncUploadStatus, val createdAt: Long, val metadata: ZyncOperationMetadata?, val module: ZuperModule?, val moduleUid: String?, val relatedUploads: List<ZyncPendingUpload> = emptyList(), val progress: Double? = null, val errorMessage: String? = null)

Detailed information about a pending upload operation.

Link copied to clipboard
sealed class ZyncUploadState

Represents the current state of the upload system.

Link copied to clipboard
data class ZyncUploadStats(val pendingOperations: Int, val failedOperations: Int, val isNetworkAvailable: Boolean, val currentState: ZyncUploadState)

Upload statistics for monitoring and debugging.

Link copied to clipboard
sealed class ZyncUploadStatus

Status of an upload operation in the upload queue.

Functions

Link copied to clipboard

Generate a default title for this upload operation. Used as a fallback when metadata is null (for operations created before metadata was added).